//
//  WXMediaLog.m
//  WXMediaEngineDemo
//
//  Created by tianlong on 2018/6/22.
//  Copyright © 2018年 tianlong. All rights reserved.
//

#import "WXMediaLog.h"

@implementation WXMediaLog

+ (void)logWithType:(WXMediaLogType)type label:(NSString *)label info:(NSDictionary *)info {
    NSString *log = @"";
    switch (type) {
        case WXMediaLogTypeURLISEmpty:
            log = @"请求地址为空";
            break;
            
        case WXMediaLogTypeURLISInvalid:
            log = @"请求地址不符合要求";
            break;
            
        case WXMediaLogTypeURLNotFound:
            log = @"请求地址找不到(404)";
            break;
            
        default:
            break;
    }
    
    NSLog(@"\nMediaLog  = %@ \nlabel     = %@ \ninfo      = %@",log,label,info);
}

+ (void)logWithEventId:(NSString *)eventId label:(NSString *)label info:(NSDictionary *)info {
    
}

@end
